<template>
	<view class="fwxy">
	<navbar></navbar>
	<textNavbar myprops="服务协议"></textNavbar>
		<view class="fwxy-content">
			<view class="fwxy-content-vw" v-for="item in list" :key="item.id">
				<view v-html="item.content"></view>
				<view>{{item.synopsis}}</view>
			</view>
		</view>
	</view>
</template>

<script>
	import { getservice } from '../../../utils/utils'
	export default {
		data() {
			return {
				list: [], // 服务协议初始数组
			}
		},
		onLoad() {
			let a = {
				cid: '4'
			}
			getservice (a, (e) => {
				console.log('服务协议', e);
				this.list.push(e.data.article)
			})
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
	.fwxy {
		width: 100vw;
		height: 100vh;
	}
	.fwxy-content-vw {
		width: 92vw;
		padding: 4px;
	}
	.fwxy-content {
		width: 100vw;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
</style>
